package com.chianghao.rock.admin.system.system_param.dto;

import javax.validation.constraints.NotNull;

import com.chianghao.core.web.ValidatedGroup;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description="系统参数")
public class SystemParamDto {


	@NotNull(groups = {ValidatedGroup.Modify.class,ValidatedGroup.Add.class},message="error:code,not.null")
	@ApiModelProperty("编号")
    private String code;
	
	
	@NotNull(groups = {ValidatedGroup.Add.class},message="error:name,not.null")
	@ApiModelProperty("名称")
	private String name;

	@NotNull(groups = {ValidatedGroup.Add.class},message="error:value,not.null")
	@ApiModelProperty("值")
	private String value;


	@ApiModelProperty("备注")
    private String remark;


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getValue() {
		return value;
	}


	public void setValue(String value) {
		this.value = value;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}
	


}
